<template>
  <div>
    <transition name="router-fade" mode="out-in">
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
    </transition>
  </div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {
      msg: process.env.BASE_URL
    }
  }
}
</script>

<style lang="scss" scoped>
  div {
    width: 100%;
    height: 100%;
  }
</style>
